home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
editor
/
gldspk10.lha
/
GoldSpeak.ged
< prev
next >
Wrap
Text File
|
1995-08-08
|
1KB
|
58 lines
/* GoldSpeak version 1.0 by Dave Naylor - 8th August 1995 */
/* Fidonet 2:250/366 - Amiganet 39:138/40 - Inet knocker@frost3.demon.co.uk */
OPTIONS RESULTS
if (LEFT(ADDRESS(), 6) ~= "GOLDED") then
address 'GOLDED.1'
'LOCK CURRENT'
OPTIONS FAILAT 6
SIGNAL ON SYNTAX
/******************* ( EDIT THIS BIT TO SUIT!!! ) ****************************
PATH = "MM:Bin/"
*****************************************************************************/
'QUERY ANYTEXT'
if (result = 'TRUE') then
do
FTYPES = "_Chef|_Kraut|_Jive|_ValSpeak|_Cancel"
'QUERY DOC VAR OLDNAME'
'SAVE ALL NAME="T:LANG.OUT"'
'REQUEST BODY="' || Select a style || '" TITLE="' || GoldSpeak by Dave Naylor || '" BUTTON="' || FTYPES || '"'
if (Result = 1) then LANG = "Chef"
else if (Result = 2) then LANG = "Kraut"
else if (Result = 3) then LANG = "Jive"
else if (Result = 4) then LANG = "ValSpeak"
else Call End
'RUN CMD "'PATH''LANG' <T:LANG.OUT >>T:LANG.IN"'
'OPEN T:LANG.IN'
'NAME NEW ' || oldname
'RUN CMD "DELETE T:LANG.#? >NIL:"'
end
'UNLOCK'
EXIT
SYNTAX:
SAY "Sorry, error line" SIGL ":" ERRORTEXT(RC) ":-("
'UNLOCK'
EXIT
End:
'NAME NEW ' || oldname
'UNLOCK'
EXIT